package com.web.controller.api;

import com.web.domain.ApiResponse;
import com.web.manager.ExpressManager;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 *
 * @author FDjavaone
 * @date 2017/8/24
 */

@RestController
@RequestMapping("api")
public class ExpressController {


    @RequestMapping("/app/express/search")
    public ApiResponse add(String expressNumber) {
        return ExpressManager.getExpress(expressNumber);
    }

}
